/* pages/duduindex/duduindex.wxss */
.containerAll{
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background-color: #e7eaee;
  padding-bottom: 40rpx;
}
.containerTopBg{
  width: 100%;
  height: 400rpx;
  margin-bottom: 20rpx;
}
.bgImg{
  width: 100%;
}
.twoBox{
  display: grid;
  width: 100%;
  height: 400rpx;
  padding: 0 32rpx;
  margin-bottom: 20rpx;
  grid-template-columns: 1fr 1fr;
  gap: 20rpx; 
  .boxLeft{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 10rpx;
    align-items: center;
    justify-content: space-between;
    image{
      width: 240rpx;
      height: 140rpx;
    }
  }
  .boxRight{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 10rpx;
    image{
      width: 240rpx;
      height: 140rpx;
    }

  }
  .titleT{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40rpx;
    font-weight: 600;
    color: #333;
    margin-bottom: 16rpx;
  }
  .titleD{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24rpx;
    color: #666666;
  }
  .clickBut{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28rpx;
    font-weight: 500;
    color: #fff;
    background-color: #D32D3E;
    padding: 16rpx 20rpx;
    border-radius: 10rpx;
  }
}

.gridBox{
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20rpx;
  padding: 20rpx 32rpx;
  margin: 0 32rpx;
  border-radius: 10rpx;
  gap: 20rpx;
  margin-bottom: 20rpx;
  .gridItem{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .gridItemTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24rpx;
    font-weight: 500;
    color: #222;
  }
  .gridItemContent{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10rpx;
  }
  image{
    width: 76rpx;
    height: 76rpx;
  }
}
.partnerBox{
  background-color: #fff;
  margin: 0 32rpx;
  border-radius: 10rpx;
  margin-bottom: 20rpx;
  image{
    width: 100%;
    height: 100%;
  }
}
.advantageBox{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20rpx 32rpx;
  margin: 0 32rpx;
  background-color: #fff;
  border-radius: 10rpx;
  .advantageItemTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32rpx;
    font-weight: 600;
    color: #222;
    margin-bottom: 20rpx;
    margin-top: 20rpx;
  }
  .advantageItem{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20rpx;
    image{
      width: 100%;
    }
  }
  .descBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .descItem{
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-bottom: 10rpx;
      .descItemNum{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 50rpx;
        font-weight: 600;
        color: #D32D3E;
        position: relative;
        margin-bottom: 20rpx;
        .unit{
          position: absolute;
          top: 0;
          right: -26rpx;
          font-size: 36rpx;
        }
      }
      .descItemDesc{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24rpx;
        font-weight: 500;
        color: #333;
      }
    }
  }
}
.footerBox{
  background-color: #fff;
  margin: 0 32rpx;
  padding: 20rpx 32rpx;
  border-radius: 10rpx;
  margin-top: 20rpx;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF6F7 10%, #FFF6F7 86%);
  .footerBoxTitle{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20rpx;
    .TitleT{
      margin-top: 20rpx;
      font-size: 32rpx;
      font-weight: 600;
      margin-bottom: 20rpx;
      color: #222;
    }
    .TitleD{
      font-size: 24rpx;
      font-weight: 500;
      color: #666666;
    }
  }
  .footerGridBox{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20rpx;
    .footerGridItem{
      width: 100%;
      height: 100%;
    }
    image{
      width: 100%;
      height: 92rpx;
    }
  }
  .footerBut{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28rpx;
    font-weight: 500;
    color: #fff;
    background-color: #D32D3E;
    padding: 24rpx 20rpx;
    border-radius: 10rpx;
    margin-top: 20rpx;
  }
}
.customBox{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 1000rpx 0 0 1000rpx;
  position: fixed;
  right: 0;
  top: 300rpx;
  width: 200rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  user-select: none;
  transition: right 0.3s ease-out, top 0.3s ease-out;
  
  image{
    width: 100%;
    pointer-events: none;
  }
  
  // 拖拽时的样式
  &.dragging {
    transform: scale(1.05);
    box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    transition: none;
  }
  
  // 点击时的反馈效果
  &:active {
    transform: scale(0.95);
  }
}
.arrow{
  position: absolute;
  top: 20rpx;
  left: 10rpx;
  z-index: 999;
  display: flex;
  padding: 10rpx;
  font-size: 50rpx;
  color: #fff;
  // border-radius: 50%;
  // background: #fff;
  justify-content: center;
  align-items: center;
  image{
    width: 100%;
    height: 100%;
  }
}